package org.pidan.basic.designModel.appearance;

/**
 * {@code @description}: TODO
 * {@code @author}: huangyuxin
 * {@code @date}: 2023-11-16
 */
public class Computer {

    AliyunSmsService aliyunSmsService;

    TencentEmailService tencentEmailService;

    WeiXinService weiXinService;

    public Computer() {
        aliyunSmsService = new AliyunSmsServiceImpl();

        tencentEmailService = new TencentEmailServiceImpl();

        weiXinService = new WeiXinServiceImpl();
    }

    //只需要调用它
    public void sendMessage() {

        aliyunSmsService.sendSms();

        tencentEmailService.sendEmail();

        weiXinService.sendMessage();
    }
}
